<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<!-- Header -->
<header data-am-widget="header"
	class="am-header am-header-default am-header-fixed">
	<div class="am-header-left am-header-nav">
		<a id="window-back" href="javascript:void(0)" data-am-offcanvas> <i
			class="am-icon-chevron-left"></i> <span class="am-header-nav-title">手机查单</span>
		</a>
	</div>
	<h1 class="am-header-title"></h1>
</header>


<div class="main-content">

	<c:forEach items="${orders}" var="order">
		<div class="am-panel am-panel-danger"  style="font-size:13px">
			<div class="am-panel-hd" data-am-collapse="{target: '#panel1'}" style="cursor: pointer">
				订单#${order.orderId}<span class="am-fr"><fmt:formatDate
						value="${order.orderDate}" pattern="yyyy-MM-dd" /></span>
			</div>
			<div id="panel1" class="am-panel-bd am-collapse am-in">
				<ul class="am-list am-list-static">
					<li>产品品牌: <span class="am-fr order-value">${order.productBrand}</span></li>
					<li>经销商: <span class="am-fr order-value">${order.agencyName}</span></li>
					<li>车型名称: <span class="am-fr order-value">${order.carTypeName}</span></li>
					<li>车型编码: <span class="am-fr order-value">${order.carTypeCode}</span></li>
					<li>客户名称: <span class="am-fr order-value">${order.customerName}</span></li>
					<li>收件人: <span class="am-fr order-value">${order.receiverName}</span></li>
					<li>收件人手机: <span class="am-fr order-value">${order.receiverPhone}</span></li>
					<li>收件地址: <br /> <span class="am-fr order-value">${order.receiverAddress}</span></li>
				</ul>
			</div>
		</div>
	</c:forEach>
</div>
